﻿
@{
    ViewData["Title"] = "UpdateRaw";
    Layout = "~/Views/Home/Main.cshtml";
}


<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Demo</title>
    <link href="/layui/css/layui.css" rel="stylesheet">
</head>
<body>
    <h3>
        质检管理/原料质检/修改
    </h3>
    <div class="parent-container">
        <form class="layui-form">
            <div style="border: 2px solid black;">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <h3>质检信息</h3>
                        <label class="layui-form-label">质检编号：</label>
                        <div class="layui-input-inline" style="width: 200px;">
                            <input type="text" id="QualityNumber" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">质检名称：</label>
                        <div class="layui-input-block" style="width: 200px;">
                            <input type="text" id="QualityName" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">质检日期：</label>
                        <div class="layui-input-inline" style="width: 200px;">

                            <input type="text" class="layui-input" id="QualityTime" placeholder="yyyy年MM月dd日">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">质检人：</label>
                        <div class="layui-input-inline" style="width: 200px;">
                            <input type="text" id="Qualityer" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">供应商：</label>
                        <div class="layui-input-inline" style="width: 200px;">
                            <select id="Supplier">
                                <option value="">请选择供应商</option>
                                <option value=供应商一>供应商一</option>
                                <option value=供应商二>供应商二</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div style="border: 2px solid black;">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <h3>原料信息</h3>
                        <label class="layui-form-label">原料编号：</label>
                        <div class="layui-input-inline" style="width: 200px;">
                            <input type="text" id="MaterialNumber" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">原料名称：</label>
                        <div class="layui-input-block" style="width: 200px;">
                            <input type="text" id="MaterialName" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">单位：</label>
                        <div class="layui-input-inline" style="width: 200px;">
                            <select id="Unit2">
                                <option value="">请选择单位</option>
                                <option value="个">个</option>
                                <option value="箱">箱</option>
                                <option value="件">件</option>
                                <option value="套">套</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">规格型号：</label>
                        <div class="layui-input-inline" style="width: 200px;">
                            <select id="SpecificationsModel" required lay-verify="required" lay-search>
                                <option value="">请选择型号</option>
                                <option value="M8">M8</option>
                                <option value="M16">M16</option>
                                <option value="M32">M32</option>
                                <option value="M10">M10</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">原料批次号：</label>
                        <div class="layui-input-inline" style="width: 200px;">
                            <input type="text" id="batchNumber" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-inline">
                        <label class="layui-form-label">尺寸：</label>
                        <div class="layui-input-inline" style="width: 200px;">
                            <select id="Size" required lay-verify="required" lay-search>
                                <option value="">请选择尺寸</option>
                                <option value="8mm">8mm</option>
                                <option value="16mm">16mm</option>
                                <option value="10mm">10mm</option>
                                <option value="12mm">12mm</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div style="border: 2px solid black;">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <h3>质检信息</h3>
                        <label class="layui-form-label">质检类型：</label>
                        <div class="layui-input-inline" style="width: 200px;">
                            <select id="QualityType" required lay-verify="required" lay-search>
                                <option value="">请选择类型</option>
                                <option value="抽检">抽检</option>
                                <option value="全检">全检</option>
                            </select>

                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">质检方案：</label>
                        <div class="layui-input-block" style="width: 200px;">
                            <input type="text" id="Quaes" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <input type="button" value="查询" class="layui-btn layui-bg-blue" onclick="XiangBackfill()" />
                    <br />
                    <div class="layui-inline">
                        <label class="layui-form-label">质检状态：</label>
                        <div class="layui-input-block" style="width: 200px;">
                            <input type="radio" name="QualityS" value="合格" title="合格">
                            <input type="radio" name="QualityS" value="不合格" title="不合格">
                        </div>
                    </div>

                    <table class="layui-table" id="carr" style="width:500px"></table>

                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block" style="float:right">
                    <input type="button" value="取消" class="layui-btn layui-bg-blue" onclick="location.href='/Quality/MaterialTable'" />
                    <input type="button" value="修改" class="layui-btn layui-bg-blue" onclick="DeviceUpdates()" />

                </div>
            </div>
        </form>
    </div>
    <script src="~/js/Quality/UpdateRaw.js"></script>
   

</body>
</html>  


